package xjtu.sad.zbsj.task.annotater.manageTask;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class ManageTask {
    private Integer task_id;
    private String user_name;
    private Integer template_id;
    private String task_title;
    private String task_require;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GTM+8")
    private Date start_time;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GTM+8")
    private Date end_time;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GTM+8")
    private Date expect_end_time;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GTM+8")
    private Date task_publish_time;
    private String task_desc;
    private Integer task_limit_time;
    private Integer task_award;
    private Integer task_mark_count;
    private Integer task_status;
    private String task_kind;
    private String draw_status;
    private Integer draw_id;

    public Integer getDraw_id() {
        return draw_id;
    }

    public void setDraw_id(Integer draw_id) {
        this.draw_id = draw_id;
    }

    public String getDraw_status() {
        return draw_status;
    }

    public void setDraw_status(String draw_status) {
        this.draw_status = draw_status;
    }

    public String getTask_require() {
        return task_require;
    }

    public void setTask_require(String task_require) {
        this.task_require = task_require;
    }

    public Date getTask_publish_time() {
        return task_publish_time;
    }

    public void setTask_publish_time(Date task_publish_time) {
        this.task_publish_time = task_publish_time;
    }
    public Integer getTask_id() {
        return task_id;
    }

    public void setTask_id(Integer task_id) {
        this.task_id = task_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public Integer getTemplate_id() {
        return template_id;
    }

    public void setTemplate_id(Integer template_id) {
        this.template_id = template_id;
    }

    public String getTask_title() {
        return task_title;
    }

    public void setTask_title(String task_title) {
        this.task_title = task_title;
    }

    public String getTask_desc() {
        return task_desc;
    }

    public void setTask_desc(String task_desc) {
        this.task_desc = task_desc;
    }

    public Integer getTask_limit_time() {
        return task_limit_time;
    }

    public void setTask_limit_time(Integer task_limit_time) {
        this.task_limit_time = task_limit_time;
    }

    public Integer getTask_award() {
        return task_award;
    }

    public void setTask_award(Integer task_award) {
        this.task_award = task_award;
    }

    public Integer getTask_mark_count() {
        return task_mark_count;
    }

    public void setTask_mark_count(Integer task_mark_count) {
        this.task_mark_count = task_mark_count;
    }

    public Integer getTask_status() {
        return task_status;
    }

    public void setTask_status(Integer task_status) {
        this.task_status = task_status;
    }

    public String getTask_kind() {
        return task_kind;
    }

    public void setTask_kind(String task_kind) {
        this.task_kind = task_kind;
    }

    public Date getStart_time() {
        return start_time;
    }

    public void setStart_time(Date start_time) {
        this.start_time = start_time;
    }

    public Date getEnd_time() {
        return end_time;
    }

    public void setEnd_time(Date end_time) {
        this.end_time = end_time;
    }
    public Date getExpect_end_time() {
        return expect_end_time;
    }

    public void setExpect_end_time(Date expect_end_time) {
        this.expect_end_time = expect_end_time;
    }

    @Override
    public String toString() {
        return "ManageTask{" +
                "task_id=" + task_id +
                ", user_name='" + user_name + '\'' +
                ", template_id=" + template_id +
                ", task_title='" + task_title + '\'' +
                ", task_require='" + task_require + '\'' +
                ", start_time=" + start_time +
                ", end_time=" + end_time +
                ", expect_end_time=" + expect_end_time +
                ", task_publish_time=" + task_publish_time +
                ", task_desc='" + task_desc + '\'' +
                ", task_limit_time=" + task_limit_time +
                ", task_award=" + task_award +
                ", task_mark_count=" + task_mark_count +
                ", task_status=" + task_status +
                ", task_kind='" + task_kind + '\'' +
                ", draw_status='" + draw_status + '\'' +
                '}';
    }
}
